import Vue from 'vue'
import App from './App.vue'
// 引入路由对象
import router from './router/index'
import AMap from 'vue-amap'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

import './styles/index.scss'
Vue.use(AMap)
AMap.initAMapApiLoader({
  // 高德的key
  key: '6ef89f73ee756f84cfbe9eb39302d26c',
  // 插件集合
  plugin: ['AMap.Autocomplete', 'AMap.PlaceSearch', 'AMap.Scale', 'AMap.OverView', 'AMap.ToolBar', 'AMap.MapType', 'AMap.PolyEditor', 'AMap.CircleEditor']
})


Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
